package org.yzl.designPatterns.factorymethod.ordinaryFactory;

/**
 * 普通工厂模式
 */
public class OrdinaryFactoryTest {
    public static void main(String[] args) {
        SendFactory sendFactory = new SendFactory();
        ISender sender = sendFactory.produce("mail");
        sender.send();
    }
}
